package com.hgxd.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hgxd.base.PageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author wtf
 * @create 2023-12-02 17:26
 * @description :
 */
@Data
@ApiModel(value = "PowerOffVo对象",description = "远程停送电接收的类")
@NoArgsConstructor
@AllArgsConstructor
public class PowerOffVo extends PageEntity {

    @ApiModelProperty("1：一级审批人，2：二级审批人，3：申请人")
    private Integer type;

    @ApiModelProperty("计划名称")
    private String planName;

    @ApiModelProperty("操作人id")
    private Integer operateId;

    @ApiModelProperty("当前状态")
    private String planStatus;

    @ApiModelProperty("开始时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String endingTime;

}
